# Windows: 
# OUT = panda.exe

# Linux: 
# OUT = panda

OUT = panda


C_FLAGS =  -Wall -Werror -I ./include
OBJECTS = unix/main.o lexer.o


default: 
	make -C unix/ 
	make $(OUT)


$(OUT): $(OBJECTS) Makefile
	gcc $(OBJECTS) -o $(OUT)


%.o: %.c
	gcc -c $*.c $(C_FLAGS)


clean:
	make -C unix/ clean
	rm *.o $(OUT)

